<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>输入类型：color</title>
</head>
<body>

<p>
  Depending on browser support:<br>
  A color picker can pop-up when you enter the input field.
</p>

<form action="action_page.php">
  Select your favorite color:
  <input type="color" name="favcolor" value="#ff0000">
  <input type="submit">
</form>

<p><b>Note:</b> type="color" is not supported in Internet Explorer.</p>

</body>
</html>